package cn.wanda.bi.sunshine.platform.server.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import cn.wanda.bi.sunshine.platform.server.client.request.AuthRequest;

/**
 * Created by wangfupeng1
 */
@FeignClient(name = "ffan", url = "${client.ffan.url:}")
public interface FFanLiveClient {

    //万信登录校验
    @RequestMapping(method = {RequestMethod.GET}, value = {"/live/v1/signature"})
    String liveV1Signature(
    		@RequestParam(value="authRequest") AuthRequest authRequest
    );

}
